﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="home.aspx.cs" Inherits="ReportingCenterSite.home" %>

<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>

<%@ Register TagPrefix="asp" Namespace="AjaxControlToolkit" Assembly="AjaxControlToolkit" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <link href="Styles/jquery-ui.css" rel="stylesheet" type="text/css" />
    <link href="Styles/pivot_style.css" rel="stylesheet" type="text/css" />
    <script src="Scripts/jquery-1.6.4.min.js" type="text/javascript"></script>
    <script src="Scripts/jquery-ui.min.js" type="text/javascript"></script>
    <script src="Scripts/slides.jquery.js" type="text/javascript"></script>
    <script src="Scripts/pivot_script.js" type="text/javascript"></script>
    <title>Welcome to BizLight</title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" ScriptMode="Release" runat="server"></asp:ScriptManager>
    <asp:Button ID="trigger" OnClick="trigger_Click" runat="server" style="display:none;" />
    <asp:Button ID="trigger2" OnClick="trigger2_Click" runat="server" style="display:none;" />
    <asp:Button ID="trigger3" OnClick="trigger3_Click" runat="server" style="display:none;" />
    <asp:TextBox ID="counter" Text="-1" runat="server" style="display:none;"/>
    <asp:TextBox ID="teamIndex" Text="0" runat="server" style="display:none;" />
    <asp:TextBox ID="newsType" Text="" runat="server" style="display:none;" />
    <asp:TextBox ID="newsID" Text="" runat="server" style="display:none;" />
    

    <div class="top">
        <div class="banner">
            <img class="logo" alt="logo" src="styles/images/bizlight_logo.png" />
        </div>
        <div class="searchbar">
            <div class="searcharea">
                <asp:TextBox ID="SearchBox" runat="server" CssClass="searchbox"></asp:TextBox>
                <img src="styles/images/search_icon.png" alt="search" class="searchbutton" runat="server" />
                <asp:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender1" TargetControlID="SearchBox"
                    runat="server" WatermarkText="  Type keyword to search BizLight" WatermarkCssClass="watermark searchbox">
                </asp:TextBoxWatermarkExtender>
            </div>
        </div>
        <div class="navigation">
            <ul>
                <% =GenerateNavList() %>
            </ul>
        </div>
    </div>
    <div class="outer pvtHeader">
        <div class="inner blue" style="left: 0px;">
            <a>
                <div class="headline" style="left: 775px">
                    <asp:UpdatePanel ID="UpdatePanelHeader0" runat="server" UpdateMode="Conditional"
                        ChildrenAsTriggers="True" ClientIDMode="Inherit">
                        <ContentTemplate>
                            <asp:Label runat="server" ID="header0"></asp:Label>
                        </ContentTemplate>
                        <Triggers>
                            <asp:AsyncPostBackTrigger ControlID="trigger" EventName="Click" />
                        </Triggers>
                    </asp:UpdatePanel>
                </div>
            </a>
        </div>
        <div class="inner orange" style="left: 880px;">
            <a class="peek">
                <div class="headline">
                    <asp:UpdatePanel ID="UpdatePanelHeader1" runat="server" UpdateMode="Conditional"
                        ChildrenAsTriggers="True" ClientIDMode="Inherit">
                        <ContentTemplate>
                            <asp:Label runat="server" ID="header1"></asp:Label>
                        </ContentTemplate>
                        <Triggers>
                            <asp:AsyncPostBackTrigger ControlID="trigger" EventName="Click" />
                        </Triggers>
                    </asp:UpdatePanel>
                </div>
            </a>
        </div>
        <div class="inner blue" style="left: 1760px;">
            <a>
                <div class="headline">
                    <asp:UpdatePanel ID="UpdatePanelHeader2" runat="server" UpdateMode="Conditional"
                        ChildrenAsTriggers="True" ClientIDMode="Inherit">
                        <ContentTemplate>
                            <asp:Label runat="server" ID="header2"></asp:Label>
                        </ContentTemplate>
                        <Triggers>
                            <asp:AsyncPostBackTrigger ControlID="trigger" EventName="Click" />
                        </Triggers>
                    </asp:UpdatePanel>
                </div>
            </a>
        </div>
    </div>
    <div class="outer pvtBody">
        <div class="inner" style="left: 0px;">
            <div class="left">                
                    <div class="row-container">
                        <div class="dashboard">
                            <asp:UpdatePanel ID="UpdatePanel11" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="True"  ClientIDMode="Inherit">
                                <Triggers>
                                    <asp:AsyncPostBackTrigger ControlID="trigger2" EventName="Click" />
                                </Triggers>               
                                <ContentTemplate>
                            <rsweb:ReportViewer 
                                ID="ReportViewer0" 
                                runat="server" 
                                ProcessingMode="Remote" 
                                Font-Names="Verdana" Font-Size="8pt" InteractiveDeviceInfos="(Collection)" 
                                WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" 
                                Width="605" Height="355"
                                CssClass="reportviewer" ShowToolBar="False" 
                                AsyncRendering = "true" ShowParameterPrompts="True"                           
                                ZoomMode="PageWidth" PromptAreaCollapsed="True">
                                <ServerReport />
                            </rsweb:ReportViewer>
                                </ContentTemplate>
                            </asp:UpdatePanel>
                        </div>
                        <div class="team-introduction blue">
                            <h3>
                                Team Introduction</h3>
                            <p>
                            <asp:UpdatePanel ID="UpdatePanel0" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="True"  ClientIDMode="Inherit">
                                <Triggers>
                                    <asp:AsyncPostBackTrigger ControlID="trigger" EventName="Click" />
                                </Triggers>               
                                <ContentTemplate>
                                    <asp:Literal ID="team_intro0" runat="server"></asp:Literal>
                                </ContentTemplate>
                            </asp:UpdatePanel>
                            </p>
                        </div>
                    </div>
                    <div class="row-container">
                        <div class="top-reports">
                            <div class="header">Top Reports</div>
                    <asp:UpdatePanel ID="UpdatePanelReports0" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="True"  ClientIDMode="Inherit">
                        <Triggers>
                            <asp:AsyncPostBackTrigger ControlID="trigger" EventName="Click" />
                        </Triggers>               
                        <ContentTemplate>
                            <div class="content">
                                <ul class="pagination">
                                    <asp:Literal ID="reports_category_list0" runat="server"></asp:Literal>
                                </ul>
                                <br />
                                <div class="report-slider-arrow prev"></div>
                                <div class="report-slider">
                                        <asp:Literal ID="top_reports0" runat="server"></asp:Literal>
                                </div>
                                <div class="report-slider-arrow next"></div>
                            </div>                                    
                        </ContentTemplate>                                
                    </asp:UpdatePanel>
                        </div>
                    </div>
                    <div class="row-container">
                        <div class="block first">
                            <div class="content">
                                <div class="header">Misc</div>
                                <ul>
                                <asp:UpdatePanel ID="UpdatePanel3" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="True"  ClientIDMode="Inherit">
                                    <Triggers>
                                        <asp:AsyncPostBackTrigger ControlID="trigger" EventName="Click" />
                                    </Triggers>               
                                    <ContentTemplate>
                                        <asp:Literal ID="misc0" runat="server"></asp:Literal>
                                    </ContentTemplate>
                                </asp:UpdatePanel>                                   
                                </ul>
                            </div>
                        </div>
                        <div class="block">
                            <div class="content">
                                <div class="header">
                                    Issue Tracking</div>
                                <ul>
                                    <asp:UpdatePanel ID="UpdatePanel4" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="True"  ClientIDMode="Inherit">
                                    <Triggers>
                                        <asp:AsyncPostBackTrigger ControlID="trigger" EventName="Click" />
                                    </Triggers>               
                                    <ContentTemplate>
                                        <asp:Literal ID="issue0" runat="server"></asp:Literal>
                                    </ContentTemplate>
                                </asp:UpdatePanel>
                                </ul>
                            </div>
                        </div>
                        <div class="block">
                            <div class="content">
                                <div class="header">
                                    Latest news</div>
                                <ul>
                                    <asp:UpdatePanel ID="UpdatePanel5" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="True"  ClientIDMode="Inherit">
                                    <Triggers>
                                        <asp:AsyncPostBackTrigger ControlID="trigger" EventName="Click" />
                                    </Triggers>               
                                    <ContentTemplate>
                                        <asp:Literal ID="news0" runat="server"></asp:Literal>
                                    </ContentTemplate>
                                </asp:UpdatePanel>
                                </ul>
                            </div>
                        </div>
                    </div>
                    <div class="row-container">
                        <div class="team-members">
                            <asp:UpdatePanel ID="UpdatePanel9" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="True"  ClientIDMode="Inherit">
                                <Triggers>
                                    <asp:AsyncPostBackTrigger ControlID="trigger" EventName="Click" />
                                </Triggers>               
                                <ContentTemplate>
                                <ul><asp:Literal ID="team_members0" runat="server"></asp:Literal></ul>
                                </ContentTemplate>
                            </asp:UpdatePanel>
                        </div>
                    </div>
            </div>
            <div class="peek right orange">
            </div>
         </div>
        <div class="inner" style="left: 1000px;">
            <div class="left">
                    <div class="row-container">
                        <div class="dashboard">
                            <asp:UpdatePanel ID="UpdatePanel12" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="True"  ClientIDMode="Inherit">
                                <Triggers>
                                    <asp:AsyncPostBackTrigger ControlID="trigger2" EventName="Click" />
                                </Triggers>               
                                <ContentTemplate>
                            <rsweb:ReportViewer 
                                ID="ReportViewer1" 
                                runat="server" 
                                ProcessingMode="Remote" 
                                Font-Names="Verdana" Font-Size="8pt" InteractiveDeviceInfos="(Collection)" 
                                WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" 
                                Width="605px" Height="355px" CssClass="reportviewer" ShowToolBar="False" 
                                AsyncRendering = "true" ShowParameterPrompts="false"
                                ZoomMode="PageWidth" PromptAreaCollapsed="True">
                                <ServerReport/>
                            </rsweb:ReportViewer>
                                </ContentTemplate>
                            </asp:UpdatePanel>
                        </div>
                        <div class="team-introduction orange">
                            <h3>Team Introduction</h3>
                            <p>
                            <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="True"  ClientIDMode="Inherit">
                                <Triggers>
                                    <asp:AsyncPostBackTrigger ControlID="trigger" EventName="Click" />
                                </Triggers>                    
                                <ContentTemplate>
                                    <asp:Literal ID="team_intro1" runat="server"></asp:Literal>
                                </ContentTemplate>
                            </asp:UpdatePanel>
                            </p>
                        </div>
                    </div>
                    <div class="row-container">
                        <div class="top-reports">
                            <div class="header">Top Reports</div>
                    <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="True"  ClientIDMode="Inherit">
                        <Triggers>
                            <asp:AsyncPostBackTrigger ControlID="trigger" EventName="Click" />
                        </Triggers>               
                        <ContentTemplate>
                            <div class="content">
                                <ul class="pagination">                                   
                                            <asp:Literal ID="reports_category_list1" runat="server"></asp:Literal>               
                                </ul>
                                <br />
                                <div class="report-slider-arrow prev">
                                </div>
                                <div class="report-slider">
                                        <asp:Literal ID="top_reports1" runat="server"></asp:Literal>
                                </div>
                                <div class="report-slider-arrow next">
                                </div>
                            </div>
                        </ContentTemplate>                                
                    </asp:UpdatePanel>                                    
                        </div>
                    </div>
                    <div class="row-container">
                        <div class="block first">
                            <div class="content">
                                <div class="header">
                                    Misc</div>
                                <ul>
                                    <asp:UpdatePanel ID="UpdatePanel6" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="True"  ClientIDMode="Inherit">
                                    <Triggers>
                                        <asp:AsyncPostBackTrigger ControlID="trigger" EventName="Click" />
                                    </Triggers>               
                                    <ContentTemplate>
                                        <asp:Literal ID="misc1" runat="server"></asp:Literal>
                                    </ContentTemplate>
                                </asp:UpdatePanel>
                                </ul>
                            </div>
                        </div>
                        <div class="block">
                            <div class="content">
                                <div class="header">
                                    Issue Tracking</div>
                                <ul>
                                    <asp:UpdatePanel ID="UpdatePanel7" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="True"  ClientIDMode="Inherit">
                                    <Triggers>
                                        <asp:AsyncPostBackTrigger ControlID="trigger" EventName="Click" />
                                    </Triggers>               
                                    <ContentTemplate>
                                        <asp:Literal ID="issue1" runat="server"></asp:Literal>
                                    </ContentTemplate>
                                </asp:UpdatePanel>
                                </ul>
                            </div>
                        </div>
                        <div class="block">
                            <div class="content">
                                <div class="header">
                                    Latest news</div>
                                <ul>
                                    <asp:UpdatePanel ID="UpdatePanel8" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="True"  ClientIDMode="Inherit">
                                    <Triggers>
                                        <asp:AsyncPostBackTrigger ControlID="trigger" EventName="Click" />
                                    </Triggers>               
                                    <ContentTemplate>
                                        <asp:Literal ID="news1" runat="server"></asp:Literal>
                                    </ContentTemplate>
                                </asp:UpdatePanel>
                                </ul>
                            </div>
                        </div>
                    </div>
                    <div class="row-container">
                        <div class="team-members">
                            <asp:UpdatePanel ID="UpdatePanel10" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="True"  ClientIDMode="Inherit">
                                <Triggers>
                                    <asp:AsyncPostBackTrigger ControlID="trigger" EventName="Click" />
                                </Triggers>               
                                <ContentTemplate>
                                    <ul><asp:Literal ID="team_members1" runat="server"></asp:Literal></ul>
                                </ContentTemplate>
                            </asp:UpdatePanel>
                        </div>
                    </div>
            </div>
            <div class="peek right blue">
            </div>
        </div>
    </div>
    <div id="dialog">
        <h1></h1>
        <p>
        <asp:UpdatePanel ID="UpdatePanel13" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="True"  ClientIDMode="Inherit">
            <Triggers>
                <asp:AsyncPostBackTrigger ControlID="trigger3" EventName="Click" />
            </Triggers>               
            <ContentTemplate>
                <asp:Literal ID="dialogContent" runat="server"></asp:Literal>
            </ContentTemplate>
        </asp:UpdatePanel>
        </p>
    </div>
    </form>
</body>
</html>